package com.liu;

public class PrototypeTest {
    public static void main(String[] args) throws CloneNotSupportedException {
        Realizetype obj1 = new Realizetype();
        Realizetype obj2 = (Realizetype) obj1.clone();
        Realizetype obj3 = (Realizetype) obj2.clone();
        System.out.println("obj1==obj2?" + (obj1 == obj2));
        System.out.println("obj2==obj3?" + (obj2 == obj3));
        System.out.println("obj1==obj3?" + (obj1 == obj3));
    }
}
